<?php

header("Access-Control-Allow-Origin: *");
header("Access-Control-Allow-Methods:POST,GET");
header("Access-Control-Allow-Headers:x-requested-with,content-type");
header("Content-type:text/json;charset=utf-8");
//时区设置
date_default_timezone_set('Asia/Shanghai');
//不使用always_populate_raw_post_data
ini_set("always_populate_raw_post_data",-1);

define("DXW_DS",DIRECTORY_SEPARATOR);
define('DXW_PRO_NAME', 		'member');//项目名称
//libs目录
define('DXW_SOURCE_DIR', dirname(dirname(__FILE__)).DXW_DS);
define("DXW_SOURCE_DIR_GLOBEL_DIR",DXW_SOURCE_DIR);
$config = DXW_SOURCE_DIR_GLOBEL_DIR."config".DXW_DS."config.php";
require_once $config;